//
//  exer1_6.c
//  denissritchie
//
//  Created by Amit Jha on 8/5/12.
//  Copyright (c) 2012 Amit Jha. All rights reserved.
//

#include <stdio.h>

void main_exer1_6(){
    int c;
    
    while((c = getchar()) != EOF)
        printf("%d", c != EOF);
    
    
   printf("%d", c != EOF);
}